/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package earthdawnnet.events.client;

/**
 *
 * @author Andreas Franek
 */
public class NewLineEvent extends ClientEvent
{
    private String line;
    public NewLineEvent(String line)
    {
        this.line = line;
    }

    @Override
    public String getEventName()
    {
        return "NewLineEvent";
    }

    @Override
    public void apply(IClientEventHandler ceh)
    {
        ceh.addLine(line);
    }
}
